package org.brownflat.fxdate.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>&copy Rupert Jones 2012</p>
 *
 * @author rup
 */
@Entity
@Table(name = "FXDATE_CURRENCY_TYPE")
public class CurrencyType extends BaseEntity {
    private String name;
    private long id;

    @Override
    public long getId() {
        return id;
    }

    @Override
    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
